import request from '@/utils/request'

// 查询协同共治列表
export function listAppOtherXtgz(query) {
  return request({
    url: '/app/information/appOtherXtgz/list',
    method: 'get',
    params: query
  })
}

// 查询协同共治详细
export function getAppOtherXtgz(id) {
  return request({
    url: '/app/information/appOtherXtgz/' + id,
    method: 'get'
  })
}

// 新增协同共治
export function addAppOtherXtgz(data) {
  return request({
    url: '/app/information/appOtherXtgz',
    method: 'post',
    data: data
  })
}

// 修改协同共治
export function updateAppOtherXtgz(data) {
  return request({
    url: '/app/information/appOtherXtgz',
    method: 'put',
    data: data
  })
}

// 删除协同共治
export function delAppOtherXtgz(id) {
  return request({
    url: '/app/information/appOtherXtgz/' + id,
    method: 'delete'
  })
}
